package com.qidianit.mes.pro.mapper;

import com.qidianit.mes.pojo.pro.ProFeedback;
import com.qidianit.mes.vo.ProFeedbackPageVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Package Path: com.qidianit.mes.pro.mapper
 * Author: Alhz
 * Description:
 * Date: 2025/9/25 16:28
 */
@Mapper
public interface ProFeedbackMapper {
    /**
     * 分页查询生产报工
     * @param proFeedbackPageVO
     * @return
     */
    List<ProFeedback> selectAll(ProFeedbackPageVO proFeedbackPageVO);


    /**
     * 根据id查询报工内容
     * @param recordId
     * @return
     */
    ProFeedback selectFeedbackById(Integer recordId);

    /**
     * 添加报工
     * @param proFeedback
     * @return
     */    
    int insertFeedback(ProFeedback proFeedback);

    /**
     * 更新报工
     * @param proFeedback
     * @return
     */
    int updateFeedback(ProFeedback proFeedback);

    /**
     * 删除报工
     * @param recordId
     * @return
     */
    int deleteFeedback(Integer recordId);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    int batchDeleteFeedback(Long[] ids);


    /**
     *
     * @return
     */
    List<ProFeedback>  selectAllFeedback();
}
